<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .box1{
            width: 600px;
            height: 400px;
            background-image: url(./1.gif);
            background-size: 500px 400px;
            background-repeat: no-repeat;
            background-position: center center;
            background-color: blue;
            border: 30px red solid;
            padding: 15px;
            margin: 25px;}
    </style>
</head>
<body>
    <div class="box1"></div>    
</body>
</html>